Skip to main content

AnimatorSet

declare class AnimatorSet extends Animator {}

AnimatorSet

Instance Method

constructor

declare class AnimatorSet {
constructor(context: Context)
}
  • Description

    Create a new AnimatorSet

start

declare class AnimatorSet {
start(): void
}
  • Description

    Starts this animation.

end

declare class AnimatorSet {
end(): void
}
  • Description

    Ends the animation.

cancel

declare class AnimatorSet {
cancel(): void
}
  • Description

    Cancels the animation.

setStartDelay

declare class AnimatorSet {
setStartDelay(startDelay: number): void
}
  • Description

    The amount of time, in milliseconds, to delay processing the animation after start() is called

setDuration

declare class AnimatorSet {
setDuration(duration: number): Animator
}
  • Description

    Sets the duration of the animation.

getDuration

declare class AnimatorSet {
getDuration(): number
}
  • Description

    Gets the duration of the animation.

getStartDelay

declare class AnimatorSet {
getStartDelay(): number
}
  • Description

    The amount of time, in milliseconds, to delay processing the animation after start() is called.

setInterpolator

declare class AnimatorSet {
setInterpolator(value: TimeInterpolator): void
}
  • Description

    The time interpolator used in calculating the elapsed fraction of the animation.

isRunning

declare class AnimatorSet {
isRunning(): boolean
}
  • Description

    Returns whether this Animator is currently running (having been started and gone past any initial startDelay period and not yet ended).

addListener

declare class AnimatorSet {
addListener(listener: Animator.AnimatorListener): void
}
  • Description

    Adds a listener to the set of listeners that are sent events through the life of an animation, such as start, repeat, and end.

removeListener

declare class AnimatorSet {
removeListener(listener: Animator.AnimatorListener): void
}
  • Description

    Removes a listener from the set listening to this animation.

removeAllListeners

declare class AnimatorSet {
removeAllListeners(): void
}
  • Description

    Removes all listeners and pauseListeners from this object.

getListeners

declare class AnimatorSet {
getListeners(): ArrayList<Animator.AnimatorListener>
}
  • Description

    Gets the set of Animator.AnimatorListener objects that are currently listening for events on this Animator object.

clone

declare class AnimatorSet {
clone(): AnimationSet
}
  • Description

    Creates and returns a copy of this object.

setTarget

declare class AnimatorSet {
setTarget(target: Object): void
}
  • Description

    Sets the target object whose property will be animated by this animation.

setupEndValues

declare class AnimatorSet {
setupEndValues(): void
}
  • Description

    This method tells the object to use appropriate information to extract ending values for the animation.

setupStartValues

declare class AnimatorSet {
setupStartValues(): void
}
  • Description

    This method tells the object to use appropriate information to extract starting values for the animation.